﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ongoal.Quotation.Service.Param
{
    /// <summary>
    /// 结果参数
    /// </summary>
    public class ResultParam
    {
        /// <summary>
        /// 状态码
        /// </summary>
        public int Code { get; set; } = 100;

        /// <summary>
        /// 结果
        /// </summary>
        public string Msg { get; set; } = "失败";

        /// <summary>
        /// 总条数
        /// </summary>
        public int PageCount { get; set; } = 0;

        /// <summary>
        /// 数据
        /// </summary>
        public object Data { get; set; }

        /// <summary>
        /// 数据
        /// </summary>
        public object FormerData { get; set; }

        /// <summary>
        /// 列数据
        /// </summary>
        public object ColumnData { get; set; }

        /// <summary>
        /// 表名
        /// </summary>
        public string TableName { get; set; }

        /// <summary>
        /// 成功条数
        /// </summary>
        public int SuccessNum { get; set; }

        /// <summary>
        /// 失败条数
        /// </summary>
        public int FailNum { get; set; }

    }
}
